home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
comms
/
usr168_2.arj
/
USR168.DOC
< prev
next >
Wrap
Text File
|
1993-09-24
|
9KB
|
246 lines
USR168_2
By Kurt Heilbron
Sysop, Dirty Joe's Sweatshop (808)536-3600
WHAT IT DOES:
-------------
USR168 is a utility program written with Turbo Pascal 5.0 using
routines from Pro kit by Samuel Smith.
USR168 is released as a free program. No donations are requested for
it's use. The authors are not responsible for any damage that might be
caused by the use of this program. Please use this program at your own
risk.
The purpose of USR168 is to aid owners of US Robotics Courier Dual Standard
modems either the new 16.8K OR the 14.4k in setting up for optimum speed
under LOCKED PORT AT 19200!
This program is designed for callers only. Although I run my BBS with
the settings from USR168, I would recommend that Sysops follow the
instructions for their specific BBS package on modem settings.
This program will lock your serial port at 19200. This setting may
only be effective on 286 and 386 systems. Some multi-tasking software
may not be able to handle this setting. If you find that you are
having trouble with aborted downloads after running this program then
you should probably go into your terminal program and type AT&F
followed by the ENTER key to reset the modem to it's factory settings.
Using these settings along with protocols designed for error correcting
modems such as DSZ's Ymodem-G and Xmodem-1K-G or Qmodem's version of
Ymodem-G I have achieved file transfer speeds in the 1800 - 2000 cps
range on a regular basis using both 286 and 386 systems.
HOW IT DOES IT:
---------------
USR168 starts by giving the suggested dip switch settings, which are
as follows:
1 2 3 4 5 6 7 8 9 10
-- -- -- -- -- -- -- -- -- --
UP UP DN DN UP UP UP DN DN UP
These settings will do the following to your modem:
1 UP - DTR is controlled by software
2 UP - Send verbal result codes
3 DN - Result codes are displayed
4 DN - Local echo of commands is suppressed
5 UP - Auto Answer Suppressed
6 UP - Do not force carrier detect
7 UP - Single phone line connection (RJ-11)
8 DN - AT command set enabled
9 DN - Hang up when escape code is sent
10 UP- Load from NRAM in power up
It then will reset your modems internal NRAM settings to the original
factory defaults.
Next it sends the following settings to the modem's non-volatile
memory:
ATS11=40E0M0X7
S11=40 - Sets dialing speed to max!!
E0 - Local echo off
M0 - Speaker Off (can be overridden by putting M1 in your modem program's
initialization string)
X7 - Result code option (OK, CONNECT, RING, NO CARRIER, ERROR, CONNECT,
NO DIAL TONE, BUSY, NO ANSWER, RINGING, VOICE)
Once this string is received it sends the following additional
settings:
AT&H1&R1&S0&B1&A3&W
&H1 - Hardware control
&R1 - Ignore RTS
&S0 - DSR overrides
&B1 - Lock port at speed setting (19200)
&K1 - Auto Enable data compression
&W - Write these settings to non-volatile RAM (NRAM).
After running this program, you should go into the setup portion of
your modem program (Qmodem, Procomm or whatever) and change the modem
initialization string to ATZ followed by whatever character that
program uses to send a carriage return (Qmodem uses a { Procomm uses a
!).
DATA COMPRESSION?
-----------------
The USR DS has a setting for "Data Compression". USR168 turns this on
because I've found that transfer rates are faster even with files that
are already compressed! Some say that it is just the opposite, but I know
from experience that this is totally false!
If your application finds you down loading mostly compressed files
then you may want to put &K1 in your modem initialization string.
Otherwise, leave it alone and you will see a marked increase in
performance. You may want to disable MNP5 as this form of DATA compression
may slow transfer rates.
TIPS 'N' TRICKS:
----------------
If you want to override any of the NRAM settings that I have written in
the program, you can either do by placing the replacement commands in
the modem initialization string, or by going into the terminal mode of
your modem software and typing those commands followed by AT&W.
It is highly recommended that you use a high performance protocol
driver such as DSZ by Chuck Foresberg. The registered version of DSZ
includes YMODEM-G and Xmodem-1K-G protocols which should yield the
highest possible CPS ratings under this setup. The current versions of
many popular modem programs have built-in versions of Xmodem-1K-G
(called Ymodem-G in some versions) which will yield excellent speed,
but won't allow batch mode down loading that true Ymodem-G from the DSZ
program features.
Zmodem will give 1800-2000 cps on properly configured systems. Zmodem
is featured in non-registered versions of DSZ that are available on
most BBS systems.
Avoid using Xmodem, Ymodem, WXmodem, Kermit, Jmodem or other protocols
that rely on software error checking when you are connected to another
USR at the fixed 19200 bps rate. These protocols will give you between
400-900 cps. One reason I wrote this program was that I see people
night after night calling with USR DS modems improperly configured and
getting transfer speeds of 400 cps.
ADDITIONS:
---------
This program will program your modem to run just fine. But if you want to
see ALL my current settings, well here they are. Remember, some of the
default settings should be left alone. That is why the USR168 programs
only what is necessary.
US Robotics Courier 16800 HST Dual Standard Fax Settings...
B0 C1 E0 F1 M0 Q0 V1 X7
BAUD=19200 PARITY=N WORDLEN=8
DIAL=HUNT ON HOOK TIMER
&A3 &B1 &C1 &D2 &G0 &H1 &I0 &K1 &L0
&M4 &N0 &P0 &R2 &S0 &T5 &X0 &Y1 %R0
S00=001 S01=000 S02=043 S03=013 S04=010 S05=008
S06=002 S07=045 S08=002 S09=006 S10=015 S11=040
S12=050 S13=000 S14=001 S15=008 S16=000 S17=000
S18=000 S19=000 S20=000 S21=010 S22=017 S23=019
S24=150 S25=005 S26=001 S27=000 S28=000 S29=020
S30=000 S31=000 S32=006 S33=000 S34=000 S35=000
S36=000 S37=000 S38=000 S39=000 S40=000 S41=000
S42=126 S43=200 S44=015
ATI4 Will display your current MODEM settings
ATI5 Will display your NVRAM settings
ATI6 Will display what your LAST connect stats.
ATI7 Will show the production date etc.
ATZ ENTER Will set the modem back to factory defaults.
ATE1 Allows you to view what you are typing.
ATH To command modem.
AT&B1 To start inputting the NRAM settings.
Finish with a &W Ex: ATHS1=043S03=013&W <-Then hit enter
AT&F&W Will reset the NRAM settings.
GT POWER Modem int string AND Host mode init string
--------------------------------------------------
Also, here are the MODEM AND the HOST mode init strings I use with running
GT POWER. IMPORTANT IMPORTANT!!! Do NOT forget in the GT setup (Alt-I) to
select number 5 (baud rate set up) and change it to match your locked port
configuration! AND furthermore select number 30 in the ALT-I setup, go to
number 14 (under 30 misc. options) and make all three of them TRUE!
MODEM INIT STRING= ATV1Q0X7S11=40S0=1S2=43|
-----------------
HOST MODE INIT STRING= ATV1Q0E0S0=1M0S2=43X7|
---------------------
ALT-I SETUP
-----------
#5 DEFAULT BAUD RATE= 19200
MINIMUM BAUD RATE= 2400 (OR WHATEVER YOU WANT)
MAXIMUM BAUD RATE= 19200
MINIMUM HOST RATE 2400 (OR WHATEVER YOU WANT)
#30 (Select #14)
USE CTS FLOW CONTROL?= TRUE
USE RTS FLOW CONTROL?= TRUE
FIXED DTE RATE? = TRUE
SUPPORT:
--------
As stated above, this is a free program. You will probably use it
once, then throw it away and forget all about me. That's fine, but at
least when you call my BBS at 19200 you won't be getting 400 cps!
Updates to USR168 are always available on my BBS, Dirty Joe's Sweatshop
which is listed at the top of this file.
BBS Phone 808-536-3600